<?php
$this->breadcrumbs=array(
//'Jump Order Home'=>array('/JumpOrder'),
	'Payment',
);?>
<h1>Payment</h1>
<div class="rc_main">
<h4>
<p>You've told us what you want using Menu Builder. Right? Now it's time
to create a pre-paid account using the very trustworthy, PayPal.</p>
<p>Select the amount you want to put in your account and click on the
PayPal button.</p>
<p>When verified, PayPal will send you an email receipt and we'll update
your Jump Order balance.</p>
<p>Note that there is no transaction cost to you...$20 into PayPal is $20 into your Jump Order account. Yep, Jump Order is <STRONG>100% free!</STRONG></p>
</h4>

<form method="post" name="paypal_form" action="<?php echo $p->url; ?>">
<?php
$formstr='';
foreach ($p->fields as $name => $value) {
	if($name=='amount'){
		$formstr.= "Amount: ".CHtml::dropDownList($name, $value, array('20'=>'$20','50'=>'$50','100'=>'$100'));

	}else{
		$formstr.= "<input type=\"hidden\" name=\"$name\" value=\"$value\"/>\n";

	}
}
//		$formstr.= "<center><br/><br/>If you are not automatically redirected to ";
//		$formstr.= "paypal within 5 seconds...<br/><br/>\n";
$formstr.= "<center><input type=\"submit\"
	 value=\"Pay\"><img src=\"".Yii::app()->baseUrl."/images/paypal_logo.gif\"/><img src=\"".Yii::app()->baseUrl."/images/verisignlogo.gif\"/></center>\n";
echo $formstr;
?></form>

<!-- END  DUMP............ --></div>
